package com.ids.transfer.job;

import org.quartz.JobExecutionContext;
import org.springframework.scheduling.quartz.QuartzJobBean;
import com.ids.transfer.AbstractExtraTask;

public class AutoTransferJob extends QuartzJobBean {

	private AbstractExtraTask at;
	
	public void setAt(AbstractExtraTask at) {
		this.at = at;
	}

	@Override
	protected void executeInternal(JobExecutionContext context){
		//jdbcTemplate.execute("select * from cat");
		at.execute();
	}

}
